<!DOCTYPE html>
<html>
<head>
  <title></title>
  <script type="text/javascript">
    function jump()
    {
      window.location="/thinkphp/User/add";
    }
  </script>
</head>
<body>
  <table align="center" width="500" border="1">
    <tr>
      <th>id</th>
      <th>username</th>
      <th>sex</th>
      <th>操作</th>
    </tr>
    <volist name='data' id='kk'>
      <tr>
        <td align="center"><{$kk.id}></td>
        <td align="center"><{$kk.username}></td>
        <td align="center"><{$kk.sex}></td>
        <td align="center"><a href="/thinkphp/User/modify/id/<{$kk.id}>">修改</a> | <a href="/thinkphp/User/del/id/<{$kk.id}>">删除</a></td>
      </tr>
    </volist>
  </table>
  <center>
    <button onclick="jump()">新建用户</button>
  </center>
</body>
</html>